Skip to content

Comments

filling layout#91

Open
NHNam96 wants to merge 1 commit intohellovietnam93:ngo_hoang_nam_20143034from
NHNam96:filling-in-layout
Open

filling layout#91
NHNam96 wants to merge 1 commit intohellovietnam93:ngo_hoang_nam_20143034from
NHNam96:filling-in-layout

Conversation

@NHNam96
Copy link

@NHNam96 NHNam96 commented Mar 21, 2017

No description provided.

.gitignore Outdated

/config/locales/database.yml.example
/config/locales/secrets.yml

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

file này k có j thay đổi em checkout ra khỏi pull giúp anh nhé

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

checkout ra khỏi pull là như nào a?

Gemfile Outdated
@@ -10,6 +10,8 @@ end
gem 'rails', '~> 5.0.2'
# Use sqlite3 as the database for Active Record
gem 'sqlite3'
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sử dụng nháy kép cho tất cả em nhé

Gemfile Outdated
@@ -10,6 +10,8 @@ end
gem 'rails', '~> 5.0.2'
# Use sqlite3 as the database for Active Record
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

xóa tất cả commetn trong file này giúp anh nhé

@@ -0,0 +1,3 @@
# Place all the behaviors and hooks related to the matching controller here.
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

file này k dùng em xóa đi nhé

@@ -0,0 +1,3 @@
// Place all the styles related to the StaticPages controller here.
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

file này cũng k dùng nhé

<%= csrf_meta_tags %>

<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
<%= stylesheet_link_tag 'application', media: 'all',
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sử dụng nháy kép, 1 dấu cách để ngăn thôi nhé

<%= link_to "sample app", '#', id: "logo" %>
<nav>
<ul class="nav navbar-nav navbar-right">
<li><%= link_to "Home", '#' %></li>
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tương tự bên trên

@@ -0,0 +1,9 @@
<% provide(:title, "Help") %>
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

xóa ()


<%= link_to image_tag("rails.png", alt: "Rails logo"),
'http://rubyonrails.org/' %>

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

xóa dòng này đi k đẻ làm j cả

</div>

<%= link_to image_tag("rails.png", alt: "Rails logo"),
'http://rubyonrails.org/' %>
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ident

@NHNam96 NHNam96 force-pushed the filling-in-layout branch from 1cf62f9 to 7414fe6 Compare March 21, 2017 09:11
# Ignore Byebug command history file.
.byebug_history

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

checkout file này ra khỏi pull

}



Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

chỉ dugnf 1 dòng để ngăn cách thôi nhé xóa 2 dòng đi

@@ -1,2 +1,11 @@
module ApplicationHelper

def full_title(page_title = '')
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

xóa () + sử dụng nháy kép


<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
<%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
<%= stylesheet_link_tag "application", media: "all",
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 dấu cashc để ngăn sau cái tag kìa em ơi

<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
<%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
<%= stylesheet_link_tag "application", media: "all",
"data-turbolinks-track": "reload" %>
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ident, lùi so với đầu dòng nhé

</div>

<%= link_to image_tag("rails.png", alt: "Rails logo"),
'http://rubyonrails.org/' %>
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nháy kép

@@ -0,0 +1,25 @@
# SQLite version 3.x
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

file này cho vào gitignore mà, k pushs nó lên em ơi

config/routes.rb Outdated
@@ -1,3 +1,6 @@
Rails.application.routes.draw do
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
root 'static_pages#home'
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nhyas kép

config/routes.rb Outdated
Rails.application.routes.draw do
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
root 'static_pages#home'
get 'static_pages/home'
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 dấu cách để ngăn như viết WORD em ơi

@@ -0,0 +1,7 @@
Rails.application.routes.draw do
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

file này xóa đi bị ooix rồi

@NHNam96 NHNam96 force-pushed the filling-in-layout branch from 7414fe6 to b85aee3 Compare March 21, 2017 10:32
<html>
<head>
<title>RubyK59</title>
<title><%= full_title(yield(:title)) %></title>
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

xóa hết ()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants